var user = {
    insert:'INSERT INTO y_activedetail(content,endTime,regisNum,attendNum,inviteNum,originatorId) VALUES(?,?,?,?,?,?)',
    queryById:'select originatorId,content,endTime,regisNum,attendNum,inviteNum from y_activedetail where id = ?',
    queryStatistic:'select regisNum,attendNum,inviteNum from y_activedetail where id = ?',
    updateAttendNum:'update y_activedetail set attendNum = attendNum + 1 where id = ?',
    insertInvite:"update y_activedetail set inviteNum = inviteNum + 1 where id = ?",
    updateDetail:'update y_activedetail set content=?, endTime=? where id=?',
    updateRegisNum:'update y_activedetail set regisNum = regisNum + 1 where id = ?',
    del:'delete from y_activedetail where id = ? ',
};

module.exports = user;
/**
 * Created by Administrator on 2015/8/6.
 */
